﻿<%@ page language="C#" autoeventwireup="true" inherits="Information_EditInfo, App_Web_55ihyrll" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="<%= ResolveUrl("~/jquery-easyui-1.2.6/themes/"+Skin+"/easyui.css") %>"
        rel="stylesheet" type="text/css" />
    <link href="../jquery-easyui-1.2.6/themes/icon.css" rel="stylesheet" type="text/css" />
    <script src="../jquery-easyui-1.2.6/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../jquery-easyui-1.2.6/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../jquery-easyui-1.2.6/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
    <script src="../Content/js/sysEasyUI.js" type="text/javascript"></script>
    <style type="text/css">
        body
        {
            font-size: 12px;
        }
        .style1
        {
            width: 100%;
            border-collapse: collapse;
            border: 1px solid #E2EEF3;
        }
        .style1 tr td
        {
            border: 1px solid #E2EEF3;
        }
    </style>
    <script type="text/javascript">
        $(function () {
            $("#btnOK").click(btnOK);
        });
        function btnOK() {
            //var aa = $("#Button1 ");
            $("#Button1 ").click();
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div style="">
        <table cellpadding="0" class="style1">
            <tr>
                <td>
                    回复类型
                </td>
                <td>
                    <asp:DropDownList ID="ddlreplyType" runat="server" Width="300px" 
                        AutoPostBack="True" onselectedindexchanged="ddlreplyType_SelectedIndexChanged">
                        <asp:ListItem Value="1">关键字回复</asp:ListItem>
                        <asp:ListItem Value="2">被关注回复</asp:ListItem>
                        <asp:ListItem Value="3">自动回复</asp:ListItem>
                         <asp:ListItem Value="4">自定义菜单</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    消息类型
                </td>
                <td>
                    <asp:DropDownList ID="ddlMsgType" runat="server" AutoPostBack="True" 
                        OnSelectedIndexChanged="ddlMsgType_SelectedIndexChanged" Width="300px">
                        <asp:ListItem Value="text">文本消息</asp:ListItem>
                        <asp:ListItem Value="news">图文</asp:ListItem>
                        <asp:ListItem Value="music">音乐</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
             <tr runat="server" id="tr8" visible="false">
                <td>
                    Key</td>
                <td>
                    <asp:DropDownList ID="ddlKey" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr runat="server" id="tr1" visible="false">
                <td>
                    消息标题
                </td>
                <td>
                    <asp:TextBox ID="txtTitle" Width="300px" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr runat="server" id="tr2" visible="false">
                <td>
                    消息描述
                </td>
                <td>
                    <asp:TextBox ID="txtDescription" runat="server" Rows="5" TextMode="MultiLine" 
                        Width="300px"></asp:TextBox>
                </td>
            </tr>
            <tr runat="server" id="tr3" visible="false">
                <td>
                    媒体上传
                </td>
                <td>
                    <asp:FileUpload ID="file" runat="server" />
                    <asp:Button ID="Button2" runat="server" Text="上传" OnClick="Button2_Click" />
                </td>
            </tr>
            <tr runat="server" id="tr4" visible="false">
                <td>
                    媒体地址
                </td>
                <td>
                    <asp:TextBox ID="txtPicUrl" Width="300px" required="true" runat="server">请上传jpg/mp3格式文件，或引用网络文件地址</asp:TextBox>
                </td>
            </tr>
            <tr runat="server" id="tr5" visible="false">
                <td>
                    原文链接
                </td>
                <td>
                    <asp:TextBox ID="txtGBUrl" Width="300px" required="true" runat="server">查看原文的地址</asp:TextBox>
                </td>
            </tr>
            <tr runat="server" id="tr6" visible="false">
                <td>
                    消息内容
                </td>
                <td>
                    <asp:TextBox ID="txtContent" required="false" Width="300px" runat="server" 
                        Rows="5" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr  runat="server" id="tr7" visible="false">
                <td>
                    关键字回复
                </td>
                <td>
                    <asp:TextBox ID="txtKeyWords" Width="300px" runat="server">请输入关键字，多个关键字以分号隔开</asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="center" colspan="2">
                    <a href="#" class="easyui-linkbutton" iconcls="icon-save" id="btnOK">保存</a>
                    <asp:Button ID="Button1" runat="server" Text="保存" Style="display: none;" OnClick="Button1_Click" />
                    <a href="#" class="easyui-linkbutton" iconcls="icon-cancel" id="btnCancel" onclick="closeDialog()">
                        取消</a>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
